From: Florian Müllner Date: Tue, 27 Nov 2018 22:48:44 +0000 (+0100) Subject: lookingGlass: Don't import Lang by default X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~124 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d80e7e011874f323639929e1650781beb7ff9bc4;p=gnome-shell.git lookingGlass: Don't import Lang by default With arrow functions, Function.prototype.bind() and ES6 classes, the Lang module is rarely needed nowadays. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/361 --- diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index ce1402149..8c5e29402 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -34,7 +34,6 @@ var commandHeader = 'const Clutter = imports.gi.Clutter; ' + 'const Meta = imports.gi.Meta; ' + 'const Shell = imports.gi.Shell; ' + 'const Main = imports.ui.main; ' + - 'const Lang = imports.lang; ' + 'const Tweener = imports.ui.tweener; ' + /* Utility functions...we should probably be able to use these * in the shell core code too. */